# try + except

try:
    # a = 1
    print(a)
    print("打印a成功")

except:
    print("异常捕获")
